FROM openjdk:8-jre

EXPOSE 8888

ARG JAR_FILE
ADD target/${JAR_FILE} /home/app.jar
ADD target/classes/bootstrap.yml /home/bootstrap.yml

ENTRYPOINT ["java", "-jar", "-Duser.timezone=Asia/Shanghai", "/home/app.jar"]